package org.jeecg.modules.hc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.hc.entity.HcMerchantSettlement;
import org.jeecg.modules.hc.enums.HcMerchantSettlementTypeEnum;

import java.util.List;

/**
 * @Description: 商户结算
 * @Author: jeecg-boot
 * @Date: 2023-02-17
 * @Version: V1.0
 */
public interface HcMerchantSettlementMapper extends BaseMapper<HcMerchantSettlement> {
    HcMerchantSettlement getMaxSettlementDate(String merchantId);

    IPage<HcMerchantSettlement> pageList(Page<HcMerchantSettlement> page, HcMerchantSettlement param);

    List<HcMerchantSettlement> getHcMerchantSettlementByType(@Param("Type")HcMerchantSettlementTypeEnum type);
}
